package com.gs.xbinfomytest.entity.dsl;

import com.gitee.hengboy.mybatis.enhance.dsl.expression.ColumnExpression;
import com.gitee.hengboy.mybatis.enhance.dsl.expression.TableExpression;
import com.gs.xbinfomytest.entity.SysRoleMenu;

/**
 * 角色和菜单关联表
 * @author ApiBoot Mybatis Enhance Codegen
 */
public class DSysRoleMenu extends TableExpression<SysRoleMenu> {

    public DSysRoleMenu(String root) {
        super(root);
    }

    public static DSysRoleMenu DSL() {
        return new DSysRoleMenu("sys_role_menu");
    }

    /**
     * 角色ID
     */
    public ColumnExpression roleId = new ColumnExpression("role_id", this);
    /**
     * 菜单ID
     */
    public ColumnExpression menuId = new ColumnExpression("menu_id", this);
    @Override
    public ColumnExpression[] getColumns() {
        return new ColumnExpression[]{roleId, menuId};
    }

}

